package musicstore.biz;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import musicstore.entity.Album;

public interface AlbumBiz {
	void add(Album album);
	void update(Album album);
	void delete(int id);
	Album fetchById(int id);
	List<Album> getAlbums(int genreId);
	int getRows(@Param("genreId")int genreId,
				@Param("title")String title);
	List<Album> fetchAlbumspage(
			@Param("genreId")int genreId,
			@Param("title")String title,
			@Param("pageNum")int pageNum,
			@Param("pageSize")int pageSize);
}
